import axios from 'axios'
export function getData(params){
  const token=sessionStorage.getItem("token")
    return axios.post("/api",{...params,version:"2.0",token},{headers: {'Content-Type': 'application/json'}})     
}
export function loadData(params){
  return axios.post("/api",{...params,version:"2.0"},{headers: {'Content-Type': 'application/json'}})     
}